package cn.zyl.common.redis.command;


/**
 * MiniRedisForTransaction 枚举说明: redis命令类型：transaction-事务
 * <pre>
 *     允许模糊查询key　　有3个通配符  *、?、[]
 * </pre>
 *
 * @author wsz
 * @version v1.0
 * @date 2020-08-10
 */
public enum MiniRedisForTransaction implements MiniRedisCommands {
    /** */
    DISCARD,
    /** */
    EXEC,
    /** */
    MULTI,
    /** */
    UNWATCH,
    /** */
    WATCH
    ;
    MiniRedisForTransaction(){raw = encode(name());}
    private final byte[] raw;
    @Override
    public byte[] getRaw() { return raw; }
}
